﻿@model IEnumerable<Shcool.Models.Course>

@if (Request.IsAuthenticated)
{
}
else
{
    <div class="Register">@Html.ActionLink("Register", "Register", "Account")</div>
}


@section Navigation
{ 
    <div class="NavigationLeft">Student<br />
    @Html.ActionLink("Home", "Index", "Home")<br />
    @Html.ActionLink("Students", "Index", "Student")<br />
    @Html.ActionLink("Assignments", "Index", "Home")<br />
    @Html.ActionLink("News", "Index", "Home")<br />
    @Html.ActionLink("Tests", "Index", "Home")<br />
    @Html.ActionLink("Score", "Index", "Home")<br />
    @Html.ActionLink("Courses", "Index", "Course")
    </div>
}

@section NavigationMiddle
{


        <div class="NavigationMiddle"><strong>CourseName</strong><br />
        @foreach (var item in Model) { 
        @Html.ActionLink(item.CourseName, "Details", new { id=item.CourseID })        
    <br />  }             
    </div>


}


@section NavigationRight
{

<div class="NavigationRight">

</div>

 
}

